package com.metnods;
/**
 * 三轮车类
 * 2017-08-15
 * @author Erik
 * @version 0.1
 * @see NonMotor
 */
public class Tricycle extends NonMotor {
    public Tricycle(int cheerNum){  super.setCheerNun(cheerNum);}
    public Tricycle(){}

    @Override
    public String work() {
        String str="三轮车是一辆"+this.getCheerNun()+"个轮子的非机动车";
        return str;
    }
}
